from django.http import HttpResponse
from django.template import Context, loader

def index(request):
    t = loader.get_template('stats/index.html')
    c = Context( { } )
    return HttpResponse(t.render(c))

def bin(request, md5):
    t = loader.get_template('stats/bin.html')
    c = Context(
        {
            'item': 'bin',
            'key': md5
            }
        )
    return HttpResponse(t.render(c))
